
package com.bot.nft.module.mb.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 用户实体
 *
 * @author lumengli
 * @date  2024/01/25 11:09
 **/
@Getter
@Setter
@TableName("client_user")
public class MbUserInfo {

    /** 会员标识 */
    @TableId
    @ApiModelProperty(value = "会员标识", position = 1)
    private String id;

    /** 头像 */
    @ApiModelProperty(value = "头像", position = 2)
    private String avatar;

    /** minio头像 */
    @ApiModelProperty(value = "minio头像", position = 3)
    private String uuidAvatar;

    /** 签名 */
    @ApiModelProperty(value = "签名", position = 4)
    private String signature;

    /** 账号 */
    @ApiModelProperty(value = "账号", position = 5)
    private String account;

    /** 密码 */
    @ApiModelProperty(value = "密码", position = 6)
    private String password;

    /** 姓名 */
    @ApiModelProperty(value = "姓名", position = 7)
    private String userName;

    /** 昵称 */
    @ApiModelProperty(value = "昵称", position = 8)
    private String nickname;

    /** 性别 */
    @ApiModelProperty(value = "性别", position = 9)
    private Integer gender;

    /** 年龄 */
    @ApiModelProperty(value = "年龄", position = 10)
    private Integer age;

    /** 出生日期 */
    @ApiModelProperty(value = "出生日期", position = 11)
    @JsonFormat(pattern ="yyyy-MM-dd")
    private Date birthday;

    /** 民族 */
    @ApiModelProperty(value = "民族", position = 12)
    private String nation;

    /** 籍贯 */
    @ApiModelProperty(value = "籍贯", position = 13)
    private String nativePlace;

    /** 家庭住址 */
    @ApiModelProperty(value = "家庭住址", position = 14)
    private String homeAddress;

    /** 通信地址 */
    @ApiModelProperty(value = "通信地址", position = 15)
    private String mailingAddress;

    /** 证件类型 */
    @ApiModelProperty(value = "证件类型", position = 16)
    private String idCardType;

    /** 证件号码 */
    @ApiModelProperty(value = "证件号码", position = 17)
    private String idCardNumber;

    /** 文化程度 */
    @ApiModelProperty(value = "文化程度", position = 18)
    private String cultureLevel;

    /** 政治面貌 */
    @ApiModelProperty(value = "政治面貌", position = 19)
    private String politicalOutlook;

    /** 毕业院校 */
    @ApiModelProperty(value = "毕业院校", position = 20)
    private String college;

    /** 学历 */
    @ApiModelProperty(value = "学历", position = 21)
    private String education;

    /** 学制 */
    @ApiModelProperty(value = "学制", position = 22)
    private String eduLength;

    /** 学位 */
    @ApiModelProperty(value = "学位", position = 23)
    private String degree;

    /** 手机 */
    @ApiModelProperty(value = "手机", position = 24)
    private String phone;

    /** 邮箱 */
    @ApiModelProperty(value = "邮箱", position = 26)
    private String email;

    /** 家庭电话 */
    @ApiModelProperty(value = "家庭电话", position = 27)
    private String homeTel;

    /** 办公电话 */
    @ApiModelProperty(value = "办公电话", position = 28)
    private String officeTel;

    /** 紧急联系人 */
    @ApiModelProperty(value = "紧急联系人", position = 29)
    private String emergencyContact;

    /** 紧急联系人电话 */
    @ApiModelProperty(value = "紧急联系人电话", position = 30)
    private String emergencyPhone;

    /** 紧急联系人地址 */
    @ApiModelProperty(value = "紧急联系人地址", position = 31)
    private String emergencyAddress;

    /** 上次登录ip */
    @ApiModelProperty(value = "上次登录ip", position = 32)
    private String lastLoginIp;

    /** 上次登录地点 */
    @ApiModelProperty(value = "上次登录地点", position = 33)
    private String lastLoginAddress;

    /** 上次登录时间 */
    @ApiModelProperty(value = "上次登录时间", position = 34)
    private Date lastLoginTime;

    /** 上次登录设备 */
    @ApiModelProperty(value = "上次登录设备", position = 35)
    private String lastLoginDevice;

    /** 最新登录ip */
    @ApiModelProperty(value = "最新登录ip", position = 36)
    private String latestLoginIp;

    /** 最新登录地点 */
    @ApiModelProperty(value = "最新登录地点", position = 37)
    private String latestLoginAddress;

    /** 最新登录时间 */
    @ApiModelProperty(value = "最新登录时间", position = 38)
    private Date latestLoginTime;

    /** 最新登录设备 */
    @ApiModelProperty(value = "最新登录设备", position = 39)
    private String latestLoginDevice;

    /** 用户状态（0.禁用，1.启用） */
    @ApiModelProperty(value = "用户状态（0.禁用，1.启用）", position = 40)
    private String userStatus;

    /** 排序码 */
    @ApiModelProperty(value = "排序码", position = 41)
    private Integer sortCode;

    /** 扩展信息 */
    @ApiModelProperty(value = "扩展信息", position = 42)
    private String extJson;

    /** 删除标志(默认值0) */
    @ApiModelProperty(value = "删除标志(默认值0)", position = 43)
    @TableField(fill = FieldFill.INSERT)
    private String deleteFlag;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间", position = 44)
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 创建用户 */
    @ApiModelProperty(value = "创建用户", position = 45)
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    /** 修改时间 */
    @ApiModelProperty(value = "修改时间", position = 46)
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /** 修改用户 */
    @ApiModelProperty(value = "修改用户", position = 47)
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;

    /** 是否实名 */
    @ApiModelProperty(value = "是否实名", position = 48)
    private Integer isKyc;

    /** 是否实名 */
    @ApiModelProperty(value = "积分余额", position = 49)
    private Integer instInteBal;

    /**
     * 文昌链地址
     */
    @ApiModelProperty(value = "文昌链地址", position = 50)
    public String nativeAddress;

    /**
     * 以太坊链地址
     */
    @ApiModelProperty(value = "以太坊链地址", position = 51)
    private String hexAddress;
}
